import request from '@/utils/request'


//评论管理获取含有未回复的文章列表
const getAdminIsNoComList_p = () => {
  return request({
    method: 'get',
    url: '/api/newMessage/getAdminIsNoComList'
  })
}

//获取未回复的评论详情
const getNoComList_p = (id) => {
  return request({
    url: '/api/newMessage/getNoComList',
    method: 'get',
    params:{
      id
    }
  })
} 
//层主下其他用户的评论
const replyByOther_p = (conf) => {
  return request({
      url:'/api/newMessage/replyByMainor',
      method:'post',
      data:conf
  })
}
export const getAdminIsNoComList = getAdminIsNoComList_p
export const getNoComList = getNoComList_p
export const replyByOther =  replyByOther_p